//过滤价格
export let filterPrice = price => price.toFixed(2)

//过滤电话号
export let filterTel=tel=>tel.slice(0,3)+"****"+tel.slice(7);

//过滤时间
export let filterTime=time=>{
    let date=new Date(time);
    let year=date.getFullYear();
    let month=(date.getMonth()+1+"").padStart(2,"0")
    return `${year}-${month}`
}